package com.vip.service.shop.impl;

import com.vip.dao.shop.dao.ShopDao;
import com.vip.dao.shop.domain.Shop;
import com.vip.service.shop.ShopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ShopServiceImpl implements ShopService {

    @Autowired
    ShopDao shopDao;

    @Override
    public Shop findAll() {
        return shopDao.findAll().get(0);
    }
}
